<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{margin: 0; padding: 0;}
        ul{
            list-style-type: none;
            width: 1000px;
            border: 1px solid #ccc;
            margin: 100px auto;
            overflow: hidden;
            padding: 20px;
        }
        ul li{
            width: 200px;
            float: left;
            padding: 0 20px;
            text-align: center;
            margin-left: 8px;
            border-right: 1px solid #ccc;
        }
        ul li img{
            width: 100%;
            height: 100%;
        }
        ul li p{
            padding: 5px 10px;
            color: #fff;
            font-size: 14px;
            background: #f60;
            margin-top: 10px;
            cursor: pointer;
        }
    </style>
</head>
<body>
  <ul>
      <li>
          <img src="1.jpg" alt="">
          <p>这个帅哥屌炸了</p>
      </li>
      <li>
          <img src="1.jpg" alt="">
          <p>这个帅哥屌炸了</p>
      </li>
      <li>
          <img src="1.jpg" alt="">
          <p>这个帅哥屌炸了</p>
      </li>
      <li style="border-right: none;">
          <img src="1.jpg" alt="">
          <p>这个帅哥屌炸了</p>
      </li>
  </ul>
</body>
</html>  